/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package easyjetroster.controller;

import java.io.File;
import javax.swing.filechooser.FileFilter;

/**
 *
 * @author Jappo
 */
public class RosterFilter extends FileFilter {

    @Override
    public boolean accept(File file) {
        return file.isDirectory()
                || file.getName().endsWith("htm")
                || file.getName().endsWith("html");
    }

    @Override
    public String getDescription() {
        return "Directories or HTM(L) Files";
    }

    

}
